package com.hjq.mallseckill.service;

import com.hjq.mallseckill.entity.to.SeckillSkuRedisTO;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @auther HJQ
 */

public interface SeckillService {
    void updateSeckillIn3Days();

    List<SeckillSkuRedisTO> getCurrentSecSkus();

    SeckillSkuRedisTO getSkuSecInfo(Long skuId);

    String kill(String killId, Integer number, String code);
}
